package com.javaspeak.designpatterns.go4.creational.factorymethod;

/**
 * Has factory methods for creating Squares and Triangles
 *
 * @author John Dickerson
 */
public class Drawing {

    /**
     * Create Squares
     *
     * @return Square
     */
    public Shape createSquare(){

        return new Square();
    }


    /**
     * Create Triangle
     *
     * @return Triangle
     */
    public Shape createTriangle(){

        return new Triangle();
    }
}
